''' tensorboard '''
import cv2 as cv

from mytb import tb

with tb() as writer:
    writer.add_image("miku", cv.cvtColor(cv.imread("./data/miku.jpg"), cv.COLOR_BGR2RGB), 2, dataformats="HWC")

    for i in range(100):
        writer.add_scalar("y=x", i, i)